﻿<%@ Page Language="VB" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="false" CodeFile="systemConfig.aspx.vb" Inherits="AML_systemConfig" %>

<%--<%@ Register assembly="Devart.Data.Oracle.Web, Version=8.4.171.4, Culture=neutral, PublicKeyToken=09AF7300EEC23701" namespace="Devart.Data.Oracle.Web" tagprefix="cc1" %>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <table style="width:100%;">
                            <tr>
                                <td>
                                    &nbsp;</td>
                                
                            </tr>
                            <tr>
                                <td>
                                    <asp:GridView ID="gvSystemConfig" runat="server" AllowPaging="True" 
                                        AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
                                        ForeColor="#FFCC66" style="text-align: center" Width="100%" 
                                        CssClass="control">
                                        <FooterStyle BackColor="#E38120" Font-Bold="True" ForeColor="White" />
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:BoundField DataField="configCode" HeaderText="รหัส" ReadOnly="True" 
                                                SortExpression="ConfigCode">
                                            <ItemStyle HorizontalAlign="Left" Width="20px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="configDesc" HeaderText="รายละเอียด" ReadOnly="True" 
                                                SortExpression="configDesc">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="configNum" HeaderText="ตั้งค่าตัวเลข">
                                            <ItemStyle Width="100px" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="ตั้งค่าตัวอักษร">
                                                <ItemTemplate>
                                                    <asp:Label ID="Label1" runat="server" 
                                                        Text='<%# iif(eval("CONFIGSTR") is dbnull.value,"","****") %>'></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle Width="100px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFFFCC" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#E38120" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Button ID="btnSystemConfig" runat="server"
                                        Text="แก้ไขการตั้งค่า" Width="100px" CssClass="control" />
                                    <asp:Button ID="btnPrint" runat="server" CssClass="control"  
                                        Text="พิมพ์" Width="100px" />
                                </td>
                            </tr>
                           
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
 
</asp:Content>

